//
//  ConstClassObject.cpp
//  learnC++
//
//  Created by apple on 2018/6/3.
//  Copyright © 2018年 yunfan.com. All rights reserved.
//

#include "ConstClassObject.hpp"


int  DoSomething::getValue() const {
    //这里不能修改任何成员变量，否则编译器报错,因为有cosnt修饰
//    m_value = 0;
    
    return m_value;
}

int DoSomething::test(const DoSomething &param){
    return 1;
}

